import request from '@/utils/request'
const baseUrl = '/plant/plt'

export function savePlant (data) {
  return request({
    url: `${baseUrl}`,
    method: 'post',
    data: data
  })
}


export function getPlantById (id) {
  return request({
    url: `${baseUrl}/${id}`,
    method: 'get',
  })
}

